package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type OrgAdminController struct {
	auto.OrgController
}

func init() {
	web.Router(conf.UrlPrefix + "/Org/:id", 		&OrgAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/Org/info", 		&OrgAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/Org/scan", 		&OrgAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/Org/list", 	    &OrgAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/Org/update", 	&OrgAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/Org/create", 	&OrgAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/Org/copy", 	    &OrgAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/Org/edit", 	    &OrgAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/Org/delete", 	&OrgAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/Org/:id/:field", &OrgAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/Org/choice", &OrgAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/Org/category", &OrgAdminController{}, "*:CategoryAction")
}
//func (this *OrgAdminController) Prepare() {}
//func (this *OrgAdminController) ListAction() {}
//func (this *OrgAdminController) GetAction() {}
//func (this *OrgAdminController) InfoAction() {}
//func (this *OrgAdminController) ScanAction() {}
//func (this *OrgAdminController) CreateAction() {}
//func (this *OrgAdminController) UpdateAction() {}
//func (this *OrgAdminController) CopyAction() {}
//func (this *OrgAdminController) DeleteAction() {}
//func (this *OrgAdminController) EditAction() {}
//func (this *OrgAdminController) SonsAction() {}
//func (this *OrgAdminController) ChoiceAction() {}
//func (this *OrgAdminController) CategoryAction() {}
